<?php 

class Message extends CI_Model {
	
	function getMessage()
	{
		$query = $this->db->get('messages');
		return $query->result();
	}
	

}

?>